package com.yyds.blackmagic.service;


import com.yyds.blackmagic.entity.Category;

import java.util.List;

/**
 * @author yj
 * @description
 * @date
 */
public interface CategoryService {
    public List<Category> findAll();
    public Category findOne(int id);
    public Category updateCategory(Category category);
    public boolean deleteCategory(int id);
    public Category addCategory(Category category);
}
